home *** CD-ROM | disk | FTP | other *** search
- "FILE"="Xteq Systems X-Setup Plugin 3.1"
- "TYPE"="1"
- "COUNT"="1"
- "UIPATH"="Internet\Outlook Express\Appearance"
- "NAME"="Window Title"
- "VERSION"="1.41"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Title"
- "DESCRIPTION 1"="You can change the title of the Outlook Express window here."
- "DESCRIPTION 2"="To have to original title again, clear the field and press "Apply"."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="Thanks to Maxwell <maxwello@hotpop.com> (again!) for his tips about OE5."
-
-
- sValPath=""
- sP1="HKCU\Software\Microsoft\Outlook Express\"
- sP2="HKCU\Identities\Last User ID"
- sValue="WindowTitle"
-
-
- Sub Plugin_Initialize
- 'OK, let's have a look if we are running IE5...
- s=RegReadValue(sP2)
- if IsEmpty(s)=false then
- 'OK - we have a value - check if we can find OE
- sValPath="HKCU\Identities\" & s & "\Software\Microsoft\Outlook Express\5.0\"
- If RegPathExists(sValPath) then
- 'OE5 !
- sValPath=sValPath & sValue
- else
- sValPath=sP1 & sValue
- end if
- else
- sValPath=sP1 & sValue
- end if
-
-
- s=RegReadValue(sValPath)
- SetUIElement 1,s
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- if len(s)=0 then
- 'If values exists, delete it
- s=RegReadValue(sValPath)
- if IsEmpty(s)=false then Call RegDeleteValue(sValPath)
- else
- Call RegWriteValue(sValPath,s,1)
- end if
-
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-